package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;


@Setter
@Getter
public class StudentOfficial {

    //列表显示

    private Long id;

    private BigDecimal totalAmount;

    private BigDecimal waitingFit;

    private BigDecimal payFit;

    //缴费状态
    private Boolean payState;

    //页面显示,回显编辑页面
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date admissionDate;

    //页面显示,编辑回显
    private String school;

    private String tel;

    private String type;

    //(正常1),(转班中2),(休学中3),(流失中4)
    private DictionaryItem clientState;

    //列表显示,回显编辑页面
    private Client clientName;

    //列表显示,编辑回显
    private Class classname;

    //列表显示,编辑回显
    //付款类型
    private DictionaryItem payType;

    //列表显示,编辑回显
    private Employee saleman;


    //编辑/基本信息

    private String qq;

    //来源
    private DictionaryItem source;

    //年龄
    private int age;

    //性别
    private String gender;

    //地址
    private String address;

    //邮箱
    private String email;

    //学历
    private DictionaryItem edubackground;

    //专业
    private String major;

    //外语水平
    private DictionaryItem foreignlevel;

    //工作年限
    private Integer workingTime;

    //客户类型
    private DictionaryItem clientType;

    //所在校区
    private DictionaryItem campus;

    //编辑/缴费信息

    //计划学费
    private BigDecimal planTuition;

    //优惠金额
    private BigDecimal discountAmount;

    //总学费
    private BigDecimal totalTuition;

    //其他学费
    private BigDecimal otherCost;

    //其他优惠
    private Integer otherDiscount;

    //优惠说明
    private String discountDesc;

    //已付学费
    private BigDecimal paidTuition;

    //还欠学费
    private BigDecimal ownTuition;

    //最后付款时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date lastPaymentDate;

    //预付学费
    private BigDecimal prePaidTuition;

    //编辑/私密信息

    //省份证号
    private String identityNum;

    //紧急联系人
    private String urgentContact;

    //紧急联系人电话
    private String urgentTel;

    //工作经历
    private String workingExperience;


}